<?php
require('config.php');

        $goods_id=$_REQUEST['goods_id'];
		$sql="select * from `".$oto."_goods` where `goodsId`='".$goods_id."' LIMIT 1";
		$result=$db->query($sql);
		while($row=$result->fetch_assoc()){
			$goods_info[]=$row;//将取得的所有数据赋值给person_info数组
		}
		if(isset($goods_info))
		{
			$goods_info[0]['goodsDesc']=htmlspecialchars_decode($goods_info[0]['goodsDesc']);
		}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>无标题文档</title>
<style type="text/css">
	*{margin:0;padding:0;}
	html,body{
		width: 100%;
		height: 100%;
	}
	img{
		max-width:100%; 
	}
</style>
</head>

<body>
<?php echo $goods_info[0]['goodsDesc'];  ?>
</body>
</html>